<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .top{
            /* 四要素 宽高背景+居中 */
            height: 100px;
            background-color: #ffffff;
        }
        .logo{
            /* 四要素 */
            width: 1100px;
            height: 50px;
            background-color: #ffffff;
            margin:auto;
            /* 开启弹性布局 */
            display: flex;
            justify-content: space-between;
            /* 元素对齐 */
            align-items: center;
            /* 内边距+固定尺寸 */
            padding: 10px 0;
            box-sizing: border-box;
        }
        .nav{
            height: 50px;
            background-color: #dadada;
        }
    </style>
</head>
<body>
    <div class="top">
        <div class="logo">
            <div><img src="./images/logo.png" alt=""></div>
            <div><img src="./images/search.png" alt=""></div>
        </div>
        <div class="nav"></div>
    </div>
</body>
</html>